﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ProdeManagmente.Model
{
    public class UserResult
    {
        private User user;
        private Match match;
        private int VTeam1;
        private int VTeam2;
        private int points;

        public UserResult(User user, Match match, int VTeam1, int VTeam2, int points)
        {
            this.user = user;
            this.match = match;
            this.VTeam1 = VTeam1;
            this.VTeam2 = VTeam2;
            this.points = points;
        }

        public Match getMatch()
        {
            return this.match;
        }

        public User getUser()
        {
            return this.user;
        }

        public int getVTeam1()
        {
            return this.VTeam1;
        }

        public int getVTeam2()
        {
            return this.VTeam2;
        }

        public int getPoints()
        {
            return this.points;
        }

        public void setMatch(Match match)
        {
            this.match = match;
        }

        public void setUser(User user)
        {
            this.user = user;
        }

        public void setVTeam1(int VTeam1)
        {
            this.VTeam1 = VTeam1;
        }

        public void setVTeam2(int VTeam2)
        {
            this.VTeam2 = VTeam2;
        }

        public void setPoints(int points)
        {
            this.points = points;
        }

        public void addPoints(int points)
        {
            this.points = this.points + points;
        }
    }
}
